package com.zsh.admin.service.impl;

/**
 * @author zsh
 * @Description
 * @create 2022-03-03 17:25
 */

import com.zsh.admin.bean.Account;
import com.zsh.admin.mapper.AccountMapper;
import com.zsh.admin.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    AccountMapper accountMapper;

    public Account getAccountById(Integer id){
        return accountMapper.getAccount(id);
    }
}
